﻿using System;
using System.Configuration;

namespace DataAccess
{
    [Serializable()]
    public class Configuration
    {

        public static ConnectionStringSettings DBConnection()
        {
            System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
            return config.ConnectionStrings.ConnectionStrings["dbConnection"];
        }
    }
}
